//覆盖一些element-ui样式
$main-color: #199ED8;

.block-checkbox {
  display: block;
}

.operation-container {
  .cell {
    padding: 10px !important;
  }
  .el-button {
    &:nth-child(3) {
      margin-top: 10px;
      margin-left: 0px;
    }
    &:nth-child(4) {
      margin-top: 10px;
    }
  }
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 8px;
  }
}

.small-padding {
  .cell {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;
    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

.el-tree-node__content {
  height: 45px;
}

.el-icon-caret-right:before {
  font-size: 26px;
}

// diolag窗口样式
.el-dialog__header {
  // padding-top: 15px;
  // padding-bottom: 15px;
  /*background-color: $main-color;*/
  padding: 10px 20px;
  background: rgb(248, 248, 248);
}

// .el-dialog__title {
  /*color: #ffffff;*/
  // color: white;
  // font-family: Roboto;
  // font-size: 16px;
  // font-weight: bold;
// }
.el-dialog__headerbtn {
  top: 14px;
}
.el-dialog__headerbtn .el-dialog__close {
  color: #ccc;
  font-weight: bold;
  font-size: 20px;
  &:hover {
    // color: white;
  }
}
.el-dialog__body {
  padding: 10px 20px 30px !important;
  max-height: 70vh !important;
  overflow-y: auto !important;
}
.el-dialog__footer {
  text-align: center;
}

.el-collapse-item__header {
  font-size: 20px;
}

.dymForm {
  width :100% !important;
  .el-input--suffix{
    width :100% !important;
  }
  .el-input__inner{
    width :100% !important;
  }
  .el-textarea__inner {
    width :100% !important;
  }
  .vue-treeselect__control {
    width :100% !important;
  }
  .el-select {
    width :100% !important;
  }
  .multipleSelect {
    .el-input__inner{
      width :100% !important;
    }
  }
  .baseSelect {
    .el-input__inner{
      width :100% !important;
      height: 40px !important;
    }
  }
}

.searchForm {
  width :100% !important;
  .el-input--suffix{
    width :100% !important;
  }
  .el-input__inner{
    width :100%  !important;
  }
  .el-textarea__inner {
    width :100% !important;
  }
  .vue-treeselect__control {
    width :100% !important;
  }
  .el-select {
    width :100%  !important;
  }
}

.select-css {
  .el-select {
    width :100% !important;
  }
}

.select-css1 {
  .el-select {
    width :100% !important;
  }
  .el-input__inner{
    height :40px !important;
  }
}
.el-form-item {
  margin-bottom: 13px;
}
.el-form-item__error {
  padding-top: 1px;
  padding-bottom: 1px;
}

.el-tabs--border-card>.el-tabs__header {
  background: white
}
.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
  background-color: #6DA1FF;
  color: white;
}
.el-tabs--border-card>.el-tabs__header .el-tabs__item {
  border: 1px solid #DCDFE6;
}
.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover {
  color: #ccc;
}

.el-tabs--border-card>.el-tabs__content {
  background-color: #f3f3f4;
  padding: 10px;
}